package com.sftz.assets.enums;

import com.uxuexi.core.common.enums.IEnum;

/**
 * 考试或者作业是否可以开始一个新的作答
 */
public enum ExamStartStatusEnum implements IEnum {

	NORMAL(1, "正常"), BEFORE(2, "未开始"), END(3, "已截止"), THRESHOLD(4, "作答次数已满");
	private int key;
	private String value;

	private ExamStartStatusEnum(final int key, final String value) {
		this.value = value;
		this.key = key;
	}

	@Override
	public String key() {
		return String.valueOf(key);
	}

	@Override
	public String value() {
		return value;
	}

	public int intKey() {
		return key;
	}

}
